import xhr from './xhr/'
class SourceService {
  /**
   * 获取楼盘素材
   */
  getAppliedMaterialList (data) {
    return xhr({
      method: 'get',
      url: '/linkerDetail/getAppliedMaterialList',
      body: data
    })
  }

  /**
   * 增加应用素材浏览次数记录
   */
  addViewNum (data) {
    return xhr({
      method: 'post',
      url: '/linkerDetail/addViewNum',
      body: data
    })
  }
}
export default new SourceService()